package dblayer;

import java.sql.*;
import java.util.ArrayList;
import modellayer.Supplier;

/**
 * @author Gruppe 3
 */
public interface IFDBSupplier {
	
	public ArrayList<Supplier> getAllSuppliers(); 

	public Supplier selectSingleSupplier(int supplierID) throws SQLException;
	
	public Supplier searchSupplierOnName(String s);

	public int insertSupplier(Supplier s) throws SQLException;

	public int updateSupplier(Supplier s) throws SQLException; 

	public int deleteSupplier(Supplier s) throws SQLException;

}
